
#import "ImgCell.h"
@interface ImgCell()

@end
@implementation ImgCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
- (IBAction)actionForBtn:(UIButton *)sender {
    if (self.block) {
        self.block();
    }
}
- (void)setBounds:(CGRect)bounds{
    [super setBounds:bounds];
    self.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight | UIRectCornerBottomLeft | UIRectCornerBottomRight cornerRadii:CGSizeMake(4, 4)].CGPath;
    self.layer.shadowColor = @"#E8F1EC".color.CGColor;
    self.layer.shadowOffset = CGSizeMake(0, 0);
    self.layer.cornerRadius = 20;
    self.layer.shadowRadius = 4;
    self.layer.shadowOpacity = 1;
}
@end
